package com.spzx.cart.service;

import com.spzx.cart.domain.CartInfo;
import com.spzx.common.core.web.domain.AjaxResult;

import java.util.List;

public interface ICartService {
    
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo>  cartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void allCheckCart(Integer isChecked);

    void clearCart();

    List<CartInfo> getCartCheckedList(Long userId);

    void removeCheckedCart(List<Long> skuIds);
}